package com.we.wecc.aw.db.mapper;

import com.we.wecc.aw.db.model.AwardInvest;
import com.we.wecc.aw.db.model.AwardInvestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AwardInvestMapper {
    long countByExample(AwardInvestExample example);

    int deleteByExample(AwardInvestExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AwardInvest record);

    int insertSelective(AwardInvest record);

    List<AwardInvest> selectByExampleWithRowbounds(AwardInvestExample example, RowBounds rowBounds);

    List<AwardInvest> selectByExample(AwardInvestExample example);

    AwardInvest selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AwardInvest record, @Param("example") AwardInvestExample example);

    int updateByExample(@Param("record") AwardInvest record, @Param("example") AwardInvestExample example);

    int updateByPrimaryKeySelective(AwardInvest record);

    int updateByPrimaryKey(AwardInvest record);
}